/*************************************************************
 * 
 * CopyRight(c)2007, http://www.moorwind.com/
 * email:ezhung@gmail.com
 * for free, but a email permission would be nice
 * 
 ************************************************************/
 package kono.utils.collections
{
	public interface Iiterator
	{
		function get data():*
		
		function set data(item:*):void
		
		//指向下一数据， retrieve the current item and moves
		function next():*
		
		//检查是否下一条数据存在， check if next item exist
		function hasNext():Boolean
		
		//返回到初识位置， return to the start location(first item)
		function start():void	
	}
}